]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Connect shot/cast toggle with bind_property
authorIvan Molodetskikh <yalterz@gmail.com>
Sat, 12 Feb 2022 07:21:37 +0000 (10:21 +0300)
committerMarge Bot <marge-bot@gnome.org>
Sat, 12 Feb 2022 12:13:22 +0000 (12:13 +0000)
commit6d3dd232ad1118ad477fd95a121cabbb0d66ffd4
tree4daaad060ba4102f56a7cbe6fceefe14652983bd
parentb0ebbb00b8cb13524608216b705ecf38c777711c
screenshot: Connect shot/cast toggle with bind_property

This way we don't need to uncheck the other button manually, and it also
allows switching the mode by setting the other button's checked to
false, and not just by setting the target mode's button to true. An
example clean-up can be seen in the "V" key handler.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2107>
js/ui/screenshot.js